package com.hacker.concurrent.com.hacker.thread.base;

/**
 * @Author:这个程序员有纹身
 * @Date: Created in 21:54 2017\12\19 0019
 */
public class KeyPersonThread extends Thread{

    public void run(){
        System.out.println(Thread.currentThread().getName() + "开始了战斗！");
        for(int i = 0; i < 10; i++){
            System.out.println(Thread.currentThread().getName() + "左突右杀，攻击隋军...");
        }
        System.out.println(Thread.currentThread().getName() + "结束了战斗！");
    }
}
